import request from '@/utils/request'

// 记录查询列表
export function apiAaRecordLists(params: any) {
    return request.get({ url: '/aa_record/lists', params })
}

// 添加记录查询
export function apiAaRecordAdd(params: any) {
    return request.post({ url: '/aa_record/add', params })
}

// 编辑记录查询
export function apiAaRecordEdit(params: any) {
    return request.post({ url: '/aa_record/edit', params })
}

// 删除记录查询
export function apiAaRecordDelete(params: any) {
    return request.post({ url: '/aa_record/delete', params })
}

// 记录查询详情
export function apiAaRecordDetail(params: any) {
    return request.get({ url: '/aa_record/detail', params })
}

// 记录查询关联数据
export function apiAaRecordRelationDatas(params: any){
    return request.get({ url: '/aa_record/relationDatas', params });
}

//analysis 数据分析
export function apiAaRecordAnalysis(params: any){
    return request.get({ url: '/aa_record/analysis', params });
}

//批量修改类型 updateAll
export function apiAaRecordUpdateAll(params: any){
    return request.get({ url: '/aa_record/updateAll', params });
}
